﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="ShopSpace.Core" namespace="ShopSpace.Core">
	<class name="WorkItemStatus" table="pm_WorkItemStatus" lazy="true" >
		<id name="Id" type="Int32">
			<column name="Id" length="4" not-null="true" sql-type="INT"/>
			<generator class="identity" />
		</id>
		<version name="ConcurrencyDate" type="Timestamp"  />
		<property name="AddedBy" type="String" >
			<column name="AddedBy" length="100" not-null="true" sql-type="VARCHAR(100)"/>
		</property>
		<property name="AddedDate" type="DateTime" >
			<column name="AddedDate" length="8" not-null="true" sql-type="DATETIME"/>
		</property>
		<property name="UpdatedBy" type="String" >
			<column name="UpdatedBy" length="100" not-null="false" sql-type="VARCHAR(100)"/>
		</property>
		<property name="UpdatedDate" type="DateTime" >
			<column name="UpdatedDate" length="8" not-null="false" sql-type="DATETIME"/>
		</property>
		<property name="ViewOrder" type="Int32">
			<column name="ViewOrder" length="4" not-null="true" sql-type="INT"/>
		</property>
		<property name="Description" type="String">
			<column name="Description" length="100" not-null="true" sql-type="VARCHAR(100)" unique="true"/>
		</property>
		<property name="IsOpen" type="Boolean">
			<column name="IsOpen" length="1" not-null="true" sql-type="BIT"/>
		</property>
	</class>
</hibernate-mapping>